﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Yosca
{
	public class Customer
	{
       // public static Customer instance;

		private long _invoice;
		private String _name;
		private String _bAddress;
		private String _bCity;
		private String _bState;
		private String _bZip;

		private String _hPhone;
		private String _cPhone;
		private String _website;
		private String _email;

        /*public static Customer Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new Customer();
                }
                return instance; 
            }
        }*/
		public Customer()
		{
			_name = "";
			_bAddress = "";
			_bCity = "";
			_bState = "";
			_bZip = "";
			_hPhone = "";
			_cPhone = "";
			_website = "";
			_email = "";
		}
		
		
		public Customer(string fName, string lName, string bAddress, string bCity,
						string bState, string bZip, string hPhone, string cPhone,
						string website, string email)
		{
   
			_name = fName.ToUpper() + " " + lName.ToUpper();
			_bAddress = bAddress.ToUpper();
			_bCity = bCity.ToUpper();
			_bState = bState.ToUpper();
			_bZip = bZip.ToUpper();
			_hPhone = hPhone.ToUpper();
			_cPhone = cPhone.ToUpper();
			_website = website.ToUpper();
			_email = email.ToUpper();

		}
		
		
		
		public long invoice
		{
			get { return _invoice; }
			set { _invoice = value; }
		}
		public string name
		{
			get { return _name; }
			set { _name = value; }
		}
		public string bAddress
		{
			get { return _bAddress; }
			set { _bAddress = value; }
		}
		public string bCity
		{
			get { return _bCity; }
			set { _bCity = value; }
		}
		public string bState
		{
			get { return _bState; }
			set { _bState = value; }
		}
		public string bZip
		{
			get { return _bZip; }
			set { _bZip = value; }
		}

		public string hPhone
		{
			get { return _hPhone; }
			set { _hPhone = value; }
		}
		public string cPhone
		{
			get { return _cPhone; }
			set { _cPhone = value; }
		}
		public string website
		{
			get { return _website; }
			set { _website = value; }
		}
		public string email
		{
			get { return _email; }
			set { _email = value; }
		}
	}
}
